package com.gxa.service.impl.statistical;

import com.gxa.mapper.statistical.BedUsingMapper;
import com.gxa.pojo.vo.BedVo;
import com.gxa.service.statistical.BedUsingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <h3>new-zhyl</h3>
 * <p></p>
 *
 * @author : ch
 * @date : 2024-02-27 14:38
 **/
@Service
public class BedUsingServiceImpl implements BedUsingService {

    @Autowired
    private BedUsingMapper bedUsingMapper;

    @Override
    public List<BedVo> selectBadUsing() {

        return bedUsingMapper.selectBadUsing();
    }

    @Override
    public Integer selectBadTotal() {

        return bedUsingMapper.selectBadTotal();
    }

    @Override
    public Integer selectBadUsed() {
        return bedUsingMapper.selectBadUsed();
    }

    @Override
    public Integer selectBadUnUsed() {
        return bedUsingMapper.selectBadUnUsed();
    }

}
